home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
utildos2.arc
/
FK20.DOC
< prev
next >
Wrap
Text File
|
2019-11-16
|
7KB
|
156 lines
**********************************************************************
DOCUMENTATION FOR FK : A FUNCTION KEY HANDLER FOR PC-DOS 1.0 and 1.1
**********************************************************************
I. Introduction
This document describes the program FK, a function key handler for
use under IBM PC-DOS versions 1.0 and 1.1. The program may not work
under other versions of DOS.
This document is up-to-date as of Halloween 1982.
The program was developed under a grant from Userview Corporation.
II. Rationale
Under standard PC-DOS, the ten function keys are not used to their
full potential. The keys are used for simple command line editing, and
several of the functions are duplicated by other keys on the keyboard.
FK allows you to assign strings up to 24 characters in length to each
of the function keys, so you can give an entire command or file name
with a single keypress.
For those who use the normal PC-DOS command line editing facilities,
FK moves functions not already duplicated to keys on the cursor moving pad.
III. Using the program
There are five different actions available with FK. They all
begin with the command name 'FK'; of course, the FK program (FK.COM) must be
available on the selected disk drive when the command is issued.
The actions are as follows:
SHOWING THE DEFINITIONS: You may display the current definitions
of the ten function keys by giving the command "FK". Control characters
imbedded in the strings are displayed as ^x (just as they are echoed
during command line input) except for carriage return (ENTER), which is
displayed as a vertical bar. Users with a printer may get
a hardcopy of their definitions by pressing CTRL-PRTSC before giving the
FK command. Note that earlier versions of FK used a leftward-pointing
arrow (ASCII 27) to show a carriage return; this was changed to a
vertical bar for consistency with "FK Fn" (see below) and to avoid
problems with printers which use ASCII 27 (ESC) as a special code.
REDEFINING A KEY: You may assign a string to one of the function
keys by giving the command "FK Fn <string>" where n is the number of the
key to assign (1 thru 10), and <string> is the string of characters you
wish to get when you press that key. For example, "FK F1 DIR" would
assign the directory command "DIR" to function key F1. You may include
a carriage return in the string by using the vertical line character (|)
wherever you want the CR; for example, "FK F1 DIR|" would do the directory
command immediately upon your pressing F1 (in the previous case, you would
have to press ENTER yourself after pressing F1). Keys may only be assigned
strings of up to 24 characters in length; strings which are too long will
be truncated without warning.
SAVING THE DEFINITIONS: You may save the current definitions of
the function keys to a disk file for later use (see LOADING below). To
do so, give the command "FK SAVE <fname>" where <fname> is the name of
the file in which to save the definitions. For example, "FK SAVE MY.KEY"
would save all current key assignments in the file "MY.KEY". Any valid
filename may be used, but the use of the ".KEY" extension is recommended
for clarity.
LOADING KEY DEFINITIONS: You may recover key definitions previously
saved with "FK SAVE" by typing "FK LOAD <fname>", where <fname> is the
name of the file containing the key definitions. You should *only* use
this command on files which have been created by "FK SAVE"; if you don't,
FK will probably not accept the file. The key definitions which are
automatically loaded with FK when it is first called should be available
in the file "STD.KEY" on the disk with this document.
GETTING HELP: You can get a rundown of these command formats by
typing "FK HELP".
FK, Quad Version
The new version of FK supports definition of all four banks
(normal, shifted, ALT, and CTRL) of the function keys. An expanded
version of the HELP message is available in the new FK.
IV. Notes
Abbreviations: You can use S, L, and H as abbreviations for
"SAVE", "LOAD", and "HELP", respectively. For example, you might type
"FK L STD.KEY" to recover those definitions.
Warning concerning key files: Attempting to load key files
which were not created with "FK SAVE" or which were altered with DEBUG
or some editor may result in system crashes.
Command line editing facilities: As mentioned, the old actions
assigned to the function keys have been moved to the cursor keypad.
F1 (copy one char from template) has always been duplicated by the cursor-
right key. With FK active, the skip/copy function of F2 is moved to
the cursor-up key. Copy-remaining (F3) is moved to the END key.
Skip/delete (F4) is now assigned to the down-arrow key. Move-displayed (F5)
has been reassigned to the BACKTAB (shift-tab) key. (NOTE: versions
of FK before 8/27/82 used the HOME key for this purpose.)
F6 was used by DOS to issue the end-of-file mark, ^Z. The
standard key definitions leave ^Z assigned to F6, but if you need to
change this, you can always signal end-of-file by typing CTRL-Z.
V. Additions to revision 2
The following enhancements have been added to FK (version 08/27/82).
Thanks to Webb Blackman, Jr. , and Michael Sullivan for suggestions and
comments.
* QUIET MODE: To prevent extraneous output during FK processing
(for example, the possibly unwanted listing of key definitions
during a "load" in an autoexec file), the 'quiet mode' option
has been added. Preceeding any command letter with 'Q' causes
most output to be suppressed. Copyright notices and error
messages will be displayed even if quiet mode is requested.
Example: "FK QL DEV.KEY" to 'quietly' load the definition file
"DEV.KEY".
* WIDE DISPLAY: Preceeding any command letter with 'W' causes
key definitions to be displayed two per line. One can
also use "FK W" to simply display the keys in the wide format.
* DEFAULT EXTENSION: If no extension is supplied on loading
or saving keys, FK adds ".KEY" to the file name.
* ONE-KEY SCREEN CLEAR: The HOME key now clears the screen and
issues a carriage return. As mentioned above, previous versions
of FK had used HOME for the old F5 function; 08/27/82 FK uses
BACKTAB for this function.
* EASIER PATCHING: FK has been recoded to facilitate patching
to support nonstandard versions of DOS (i.e. RAMDrive, Davong,
JEL, etc). Patching methods are available in the document
FKPATCH.DOC.
The author may be contacted at:
Jeffrey P. Garbers
890E Clubhouse Circle West
Decatur, GA 30032
or via SourceMail at CL0040
or via the PC Midnight Express at 404-294-6879.